Mastering Linear Systems with Matrix Inverses: A Comprehensive Guide